function figVideoInput_CreateFcn(fig, e)
%FIGVIDEOINPUT_CREATEFCN Summary of this function goes here
%   Detailed explanation goes here

set(fig, ...
    'Windowstyle', 'modal', ...
    'NumberTitle', 'off', ...
    'Resize', 'off', ...
    'Name', 'Select Video Input:' ...
);

e.Section='VideoInput';
e.Keys= {'Adaptor', 'DeviceID', 'Format'};
SelectedVid = figDhaqtool_IniRead(dhaqtool, e );
setappdata(fig, 'Adaptor', SelectedVid{1});
setappdata(fig, 'DeviceID', str2num(SelectedVid{2})); %#ok<*ST2NM>
setappdata(fig, 'Format', SelectedVid{3});

uigridcontainer('v0', ...
    'parent', fig, ...
    'CreateFcn', @gridVideoInputMC_CreateFcn ...
    );

end

